package cn.yuyiling.jelly.sr.mongodb.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@Document(collection = "knowledge_point_progress")
public class KnowledgePointProgress implements Serializable {

    @Id
    private String id;

    private String userId;

    private String knowledgePointId;

    private double completionRate; // 正确率（0-100）

    private int practiceCount; // 已练习次数

    private Date updatedAt;

}